using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Unity.VisualScripting;
using UnityEngine;

public class BaseCylinder : MonoBehaviour
{
    Animator ani;
    void Start()
    {
        gameObject.TryGetComponent<Animator>(out ani);
    }
    public void BackEvent()
    {
        ani.SetBool("isBack", true);
    }
    public void BackExitEvent()
    {
        ani.SetBool("isBack", false);
    }
    public void FrontEvent()
    {
        ani.SetBool("isFront", true);
    }
    public void FrontExitEvent()
    {
        ani.SetBool("isFront", false);
    }
}
